package com.shop.service;

import com.shop.model.Course;

import java.util.List;

public interface ICourseService {

    //获取课程信息
    List<Course> getCourse();

    //根据id，课程名获取课程信息
    List<Course> searchCourse(int courseId,String courseName);

    //根据id获取课程信息
    Course searchCourse1(String courseId);

    //更新课程容量
    Boolean updateCourseCapacity(List<String> courseIds, int courseCapacity);
}
